Query Languages for Semi - Algebraic Databasesbased on Descriptive Complexity over Rklaus
نویسنده
چکیده
We propose the study of query languages for databases involving real numbers as data (called semi-algebraic databases in the sequel). As main new aspect our approach is based on real number complexity theory as introduced in 8] and descriptive complexity for the latter developed in 17]. Using this formal framework a uniform treatment of semi-algebraic query languages is obtained. Precise results about both the data-and the expression-complexity of several such query languages are proved. More explicitly, relying on descriptive complexity theory over R gives the possibility to derive a hierarchy of complete languages for most of the important real number complexity classes. A clear correspondence between diierent logics and such complexity classes is established. In particular, it is possible to formalize queries involving in a uniform manner real spaces of diierent dimensions. This can be done in such a way that the logical description exactly reeects the computational complexity of a query. The latter might circumvent a problem appearing in some of the former approaches dealing with semi-algebraic databases (see 20] , 18]), where the use of rst-order logic over real-closed elds can imply inef-ciency as soon as the dimension of the underlying real space is not xed-no matter whether the query under consideration is easy to compute or not. 1. Introduction Semi-algebraic databases have raised increasing interest in recent years. Inspired by problems of computational and semi-algebraic geometry in the meanwhile there can be found many approaches dealing with real number data and real polynomial inequality constraints. To give a (by no means complete) list of references consider for example 20], 24], 19], 4], 5], 6], the survey paper 18] as well as the literature cited in there. An important task in database theory is to study the complexity of queries asked to databases. In relation with nite model theory and descriptive complexity theory this led to numerous results on the complexity of several query languages described by logical means (see 1] for a survey). For the present work the papers 9] and 25] are of extreme interest. Here the notions of data-and expression-complexity were introduced and studied; important complexity classes in the Turing model were captured by the data-resp. expression-complexity of several such query languages. Our goal is to set up a similar theory for semi-algebraic databases. However, in order to deal in a comparable manner with
منابع مشابه
Topological Queries in Spatial Databases
We study topological queries over two-dimensional spatial databases. First, we show that the topological properties of semialgebraic spatial regions can be completely specified using a classical finite structure, essentially the embedded planar graph of the region boundaries. This provides an invariant characterizing semi-algebraic regions up to homeomorphism. All topological queries on semialg...
متن کاملAn XPath Algebraic Characterization of A ( k ) and P ( k ) Indices with Applications to Query Processing
Recent studies have proposed structural summary techniques for path query evaluation on semi-structured data sources. One major line of this research has been the introduction of the DataGuide, 1-index, 2-index, and A(k) indices, and subsequent investigations and generalizations. Another recent study has considered structural characterizations of fragments of XPath, the standard path navigation...
متن کاملExpressing the box cone radius in the relational calculus with real polynomial constraints
We show that there is a query expressible in first-order logic over the reals that returns, on any given semi-algebraic set A, for every point, a radius around which A is conical in every small enough box. We obtain this result by combining results from differential topology and real algebraic geometry, with recent algorithmic results by Rannou.
متن کاملExpressing the cone radius in the relational calculus with real polynomial constraints
We show that there is a query expressible in rst-order logic over the reals that returns, on any given semi-algebraic set A, for every point a radius around which A is conical. We obtain this result by combining famous results from calculus and real algebraic geometry, notably Sard’s theorem and Thom’s rst isotopy lemma, with recent algorithmic results by Rannou.
متن کاملOn the Complexity of Queries for Structurally Annotated Linguistic Data
This paper addresses on a theoretical level the problem of extracting information out of syntactically annotated corpora. More precisely it is concerned with the question of the descriptive complexity of query languages for structurally annotated data. This can be divided into two aspects: On the one hand, the demands linguists make on query languages need to be specified and on the other hand,...
متن کامل